<%@ page language="java" contentType="text/html; charset=UTF-8"
  pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html lang="zh-CN">

<head>
<title>赌我会瘦</title>
<%@ include file="/WEB-INF/include/meta.jsp"%>
<%@ include file="/WEB-INF/include/css.jsp"%>
</head>
<!-- end header -->

<body>
  <div class="page-group">
    <div class="page page-current index-page bg-light-gray">
      <div class="content">
        <!-- <div class="content-padded">
          <h1>第一页.jpg</h1>
        </div> -->
        <div class="item-content">
          <img src="${ctx.resource}/images/welcome-header-logo.png" style="display: block; width: 5.8rem; margin:1.25rem auto 1rem;"/>
          <div class="bet-title">
            <p class="no-margin text-center" style="color: #fff;">是不是真的想要减肥？<br>不信28天能减重5%？<br>完全可能！</p>
          </div>
          <div class="swiper-container">
				    <div class="swiper-wrapper">
				      <div class="swiper-slide"><img src="${ctx.resource}/images/welcome-case-1.png" style="display: block; width: 70%; margin: 0 auto;" alt="">
				        <p style="margin: 0 auto; text-align: center; color: #fff; font-size: 2rem; position: absolute; left:0; right: 0; top: 50%; margin-top: -1.5rem;">vs</p>
				      </div>
				      <div class="swiper-slide"><img src="${ctx.resource}/images/welcome-case-2.png" style="display: block; width: 70%; margin: 0 auto;" alt="">
				        <p style="margin: 0 auto; text-align: center; color: #fff; font-size: 2rem; position: absolute; left:0; right: 0; top: 50%; margin-top: -1.5rem;">vs</p>
				      </div>
				      <div class="swiper-slide"><img src="${ctx.resource}/images/welcome-case-3.png" style="display: block; width: 70%; margin: 0 auto;" alt="">
				        <p style="margin: 0 auto; text-align: center; color: #fff; font-size: 2rem; position: absolute; left:0; right: 0; top: 50%; margin-top: -1.5rem;">vs</p>
				      </div>
				    </div>
				  </div>
          <%-- <div style="position: relative;">
            <img src="${ctx.resource}/images/welcome-case.png" style="display: block; width: 70%; margin: 0 auto;">
            <!-- <p style="margin: 0 auto; text-align: center; color: #fff; font-size: 2rem; position: absolute; left:0; right: 0; top: 50%; margin-top: -1.5rem;">vs</p> -->
          </div> --%>
          <p class="no-margin text-center" style="color: #fff;font-weight: bolder; font-size: 1.2rem; margin-top: .75rem;">还有超过万元奖金等你赢！</p>
          
          <div class="index-button-layout clearfix">
	          <%-- <a href="${ctx.host}/mall" class="button button-big fb-button">先看看</a> --%>
	          <a href="${ctx.host}/index" class="button button-big fb-button join-button">立即体验</a>
	        </div>
        </div>
      </div>
    </div>
  </div>
  <%@ include file="/WEB-INF/include/script.jsp"%>
  <%@ include file="/WEB-INF/include/script.jsp"%>
  <d:resource type="script" root="${ctx.resource}/build" src="js/page/common.js" />
  <script type="text/javascript">
    require(['page/common'], function(page) {
      page.init({
        "jsConfig": JSON.parse('${jsConfig}'),
        "avatar": '${user.avatar}'
      })
    })
  </script>
</body>
</html>